package com.zhangxu.junior.mapper;

import com.zhangxu.junior.domain.StudentCourse;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface StudentCourseMapper {

    /**
     * 根据学生id或者课程id查询相关信息
     * @param studentCourse
     */
    public List<StudentCourse> selectCourseBystudent(StudentCourse studentCourse);

    public int insertStudentCourse(StudentCourse studentCourse);

    public int delteStudentCourse(Long studentId);
}
